//创新创效最新
import React, {} from 'react';
import {
  View,
} from 'react-native';

import Config from '../../config';
import SizeUtils from '../../common/SizeUtils';
import {DateUtils} from '../../utils/Utils';
import CommonStyles from '../../common/CommonStyles';
import BaseComponent from '../common/BaseComponent';
import CommonDataListView from '../common/CommonDataListView';
import ZHP_PostItemView from './ZHP_PostItemView';
import ZHP_RequestPostsAction from '../../actions/zahuopu/ZHP_RequestPostsAction';

export default class ZHP_HotView extends CommonDataListView {
  constructor(props) {
    super(props);
  }

  _onRenderItem(data, index) {
    return (<ZHP_PostItemView data={data} showTop={true} />)
  }

  _requestData(page) {
    //回复排行
    //new ZHP_RequestPostsAction().call(this, {sort_id:4, tag:1, page:page, page_size:10, show_last_days:7});
    new ZHP_RequestPostsAction().call(this, {page:1, page_size:3, tag:0, sort_id:2});
  }
}
